home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2b.lha
/
p4-1.2b
/
messages_f
/
makefile.proto
next >
Wrap
Makefile
|
1993-02-10
|
1KB
|
42 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIB = $(LIBDIR)/libp4.a
FORTLIBDIR = $(P4_HOME_DIR)/lib_f
FORTLIB = $(FORTLIBDIR)/libp4_f.a
LIBS = $(FORTLIB) $(LIB) $(MDEP_LIBS)
default:$(P)
make $(MFLAGS) sr_test simpglob
all:$(P)
make $(MFLAGS) sr_test sr_master sr1_master
make $(MFLAGS) sr_slave sr1_slave
sr_test: sr_test.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o sr_test sr_test.o $(LIBS)
sr_log: sr_log.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o sr_log sr_log.o $(LIBS)
simpglob: simpglob.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o simpglob simpglob.o $(LIBS)
sr_master: sr_master.o sr_slave.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o sr_master sr_master.o sr_slave.o $(LIBS)
sr_slave: sr_slave.o slave_main.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o sr_slave slave_main.o sr_slave.o $(LIBS)
sr1_master: sr1_master.o sr1_slave.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o sr1_master sr1_master.o sr1_slave.o $(LIBS)
sr1_slave: sr1_slave.o slave_main.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o sr1_slave slave_main.o sr1_slave.o $(LIBS)
realclean: clean
$(RM) -f sr_test simpglob sr_master sr_slave \
sr1_master sr1_slave Makefile p4f.h